package com.hsq.ndmall.coupon;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan({"com.hsq.ndmall.coupon","com.hsq.ndmall.common"})   //  扫描包，把mybatis的配置文件加载进来
public class CouponCenterApplication {

    public static void main(String[] args) {
        SpringApplication.run(CouponCenterApplication.class, args);
    }

}
